﻿<%@ page contentType="text/html;charset=utf-8"%>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DSDOWN 3DS DS DSI GB GBA WII WIIU Nintendo 任天堂 游戏 资讯 攻略 发售 下载</title>
<meta name="description" content="" />
<meta name="keywords" content="DSDOWN 3DS DS DSI GB GBA WII WIIU Nintendo 任天堂 游戏 攻略 发售 资讯 " />
<link href="style/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style></head>

<script src="script/jQuery.js" type="text/javascript"></script>
<script src="script/functions.js" type="text/javascript"></script>

<body>
<div class="index">
<!-- 主页面 -->
<div class="main">

	<%@ include file="header.jsp" %>
	
	<%@ include file="stage.jsp" %>
		
	<div class="header_shadow" style="margin-top:-20px;"></div>
	
	<!-- 外框阴影 -->
	<div class="center_shadow">
	  <div class="content">
	  
	  
	  
      <!-- 左侧栏 -->
      <div class="leftdiv">
        <!-- 导航栏 -->
        <div class="nav_menu">
			<span>资讯</span>
			<a href="/games.do">图鉴</a>
			<a href="/retail.do">发售表</a>
			<a href="/laboratory.do">实验室</a>			
		</div>
        <!-- navigate -->
		
		<!-- 主显示区域 -->
		<div class="mainarea">
			<!-- 资讯 -->
			<div>
			
			<% List<java.util.Map> articleList = (List<java.util.Map>)request.getAttribute("articleList"); %>
			<% for(int i=0;i<articleList.size();i++){ %>
			
				<a class="newsitem" href="articledetail.do?id=<%= articleList.get(i).get("article_id") %>" target="_blank">
					<div class="newsitem_left">
						<img src="<%= articleList.get(i).get("article_icon") %>"/>
					</div>
					<div class="newsitem_right">
						<big><%= articleList.get(i).get("article_name") %></big>
						<small><%= articleList.get(i).get("article_create_date") %></small>
						<p><%= articleList.get(i).get("article_description") %></p>
					</div>
				</a>
			
			<% } %>
				
				<div class="page"><a href="/article_list.do" target="_blank">查看更多>></a></div>
			</div>
			<!-- 资讯 -->
		</div>
		<!-- mainarea -->
      </div>
	  <!-- left -->
	  
	  <script type="text/javascript">
		limitCharacterLength(".newsitem_right>big",38);
	  	limitCharacterLength(".newsitem_right>p",200);
	  </script>
	  
	  <%@ include file="index_right.jsp" %>
	  </div>
	  <!-- content -->
    </div>
	<!-- center_shadow -->
<div class="footer_shadow"></div>

<%@ include file="footer.jsp" %>

</div>
<!-- main -->

</div>

</body>
</html>
